package o;

import java.util.HashMap;
import java.util.Map;

final class tt {
    private final Map<sa, tk<?>> ˋ = new HashMap();
    private final Map<sa, tk<?>> ˎ = new HashMap();

    tt() {
    }

    tk<?> ˋ(sa saVar, boolean z) {
        return (tk) ˊ(z).get(saVar);
    }

    void ˏ(sa saVar, tk<?> tkVar) {
        ˊ(tkVar.ˎ()).put(saVar, tkVar);
    }

    void ˋ(sa saVar, tk<?> tkVar) {
        Map ˊ = ˊ(tkVar.ˎ());
        if (tkVar.equals(ˊ.get(saVar))) {
            ˊ.remove(saVar);
        }
    }

    private Map<sa, tk<?>> ˊ(boolean z) {
        return z ? this.ˎ : this.ˋ;
    }
}
